package com.shop.cereshop.app.dao.pet;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.app.page.pet.PetInfoVO;
import com.shop.cereshop.commons.domain.pet.CerePetInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CerePetInfoDAO extends BaseMapper<CerePetInfo> {
    List<PetInfoVO> getPetInfo(@Param("buyerUserId") Long buyerUserId);

    PetInfoVO getDetailById(@Param("petId") Long petId);

}
